package com.jiangSheng.mall.app.bean;

import java.math.BigDecimal;
import java.util.Date;


/***
 * 订单
 * @author Administrator
 *
 */
public class Order {
//    private Long receiveAddressId; //收货地址ID
//    private Long couponId;//优惠券ID
//    private Integer payType;//支付方式
//    private List<ShoppingCar> ShoppingCars;//购物车选中商品
    
    private Long id;//订单ID
    private Long usersId;//用户ID
    private Long couponId;//优惠券ID
    private String orderSn;//订单编号
    private Date createTime;//提交时间
    private BigDecimal orderAmount;//订单总额
    private BigDecimal payAmount;//付款总额
    private BigDecimal freightAmount;//运费金额
    private BigDecimal couponAmount;//优惠券金额
    private Integer payType;//支付方式   0:未支付；1:支付宝；2:微信
    private Integer orderState;//订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单
    private Integer orderType;//订单类型：0->正常订单；1->秒杀订单
    private String distributionWay;//配送方式
    private String deliverySn;//物流单号
    private String receiverName;//收货人姓名
    private String receiverPhone;//收货人电话
    private String receiverPostCode;//收货人邮编
    private String receiverProvince;//收货人所在省份
    private String receiverCity;//收货人所在城市
    private String receiverRegion;//收货人所在区
    private String receiverDetailAddress;//收货人详细地址
    private String orderNote;//订单备注
    private Integer receiverConfirmState;//收货人确认订单状态  0：未确认  1：已确认
    private Date paymentTime;//付款时间
    private Date deliveryTime;//发货时间
    private Date receiveTime;//收货时间
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getUsersId() {
		return usersId;
	}
	public void setUsersId(Long usersId) {
		this.usersId = usersId;
	}
	public Long getCouponId() {
		return couponId;
	}
	public void setCouponId(Long couponId) {
		this.couponId = couponId;
	}
	public String getOrderSn() {
		return orderSn;
	}
	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public BigDecimal getOrderAmount() {
		return orderAmount;
	}
	public void setOrderAmount(BigDecimal orderAmount) {
		this.orderAmount = orderAmount;
	}
	public BigDecimal getPayAmount() {
		return payAmount;
	}
	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}
	public BigDecimal getFreightAmount() {
		return freightAmount;
	}
	public void setFreightAmount(BigDecimal freightAmount) {
		this.freightAmount = freightAmount;
	}
	public BigDecimal getCouponAmount() {
		return couponAmount;
	}
	public void setCouponAmount(BigDecimal couponAmount) {
		this.couponAmount = couponAmount;
	}
	public Integer getPayType() {
		return payType;
	}
	public void setPayType(Integer payType) {
		this.payType = payType;
	}
	public Integer getOrderState() {
		return orderState;
	}
	public void setOrderState(Integer orderState) {
		this.orderState = orderState;
	}
	public Integer getOrderType() {
		return orderType;
	}
	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}
	public String getDistributionWay() {
		return distributionWay;
	}
	public void setDistributionWay(String distributionWay) {
		this.distributionWay = distributionWay;
	}
	public String getDeliverySn() {
		return deliverySn;
	}
	public void setDeliverySn(String deliverySn) {
		this.deliverySn = deliverySn;
	}
	public String getReceiverName() {
		return receiverName;
	}
	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}
	public String getReceiverPhone() {
		return receiverPhone;
	}
	public void setReceiverPhone(String receiverPhone) {
		this.receiverPhone = receiverPhone;
	}
	public String getReceiverPostCode() {
		return receiverPostCode;
	}
	public void setReceiverPostCode(String receiverPostCode) {
		this.receiverPostCode = receiverPostCode;
	}
	public String getReceiverProvince() {
		return receiverProvince;
	}
	public void setReceiverProvince(String receiverProvince) {
		this.receiverProvince = receiverProvince;
	}
	public String getReceiverCity() {
		return receiverCity;
	}
	public void setReceiverCity(String receiverCity) {
		this.receiverCity = receiverCity;
	}
	public String getReceiverRegion() {
		return receiverRegion;
	}
	public void setReceiverRegion(String receiverRegion) {
		this.receiverRegion = receiverRegion;
	}
	public String getReceiverDetailAddress() {
		return receiverDetailAddress;
	}
	public void setReceiverDetailAddress(String receiverDetailAddress) {
		this.receiverDetailAddress = receiverDetailAddress;
	}
	public String getOrderNote() {
		return orderNote;
	}
	public void setOrderNote(String orderNote) {
		this.orderNote = orderNote;
	}
	public Integer getReceiverConfirmState() {
		return receiverConfirmState;
	}
	public void setReceiverConfirmState(Integer receiverConfirmState) {
		this.receiverConfirmState = receiverConfirmState;
	}
	public Date getPaymentTime() {
		return paymentTime;
	}
	public void setPaymentTime(Date paymentTime) {
		this.paymentTime = paymentTime;
	}
	public Date getDeliveryTime() {
		return deliveryTime;
	}
	public void setDeliveryTime(Date deliveryTime) {
		this.deliveryTime = deliveryTime;
	}
	public Date getReceiveTime() {
		return receiveTime;
	}
	public void setReceiveTime(Date receiveTime) {
		this.receiveTime = receiveTime;
	}

	

	
}
